import { View } from '@tarojs/components';
import LgEmptyContent from '@/pages/components/emptyContent';
import "./index.scss";

function App(props){
    let {
        text,
        type
    } = props;
    // console.log(text);
    
    return (
        <View className="my_empty">
            <LgEmptyContent 
            text={text?`未搜索到"${text}"相关内容`: '暂无内容'}
            imgUrl={type === "small"? require("./images/empty.png"): require("./images/large_empty.png")}
            type='B'/>
        </View>
    )
}

export default App;